package com.uzhie.jt808.spring;

import java.lang.reflect.Method;

/**
 * Created by TangFei on 2018/7/30.
 * 实例方法对应关系bean
 */
public class ClassMethod {

    // 实例
    private Object classIns;
    // 方法
    private Method mappingMethod;
    // 返回值类型
    private Class<?> returnType;

    public ClassMethod() {
    }

    public ClassMethod(Object classIns, Method mappingMethod) {
        this.classIns = classIns;
        this.mappingMethod = mappingMethod;
    }

    public Object getClassIns() {
        return classIns;
    }

    public void setClassIns(Object classIns) {
        this.classIns = classIns;
    }

    public Method getMappingMethod() {
        return mappingMethod;
    }

    public void setMappingMethod(Method mappingMethod) {
        this.mappingMethod = mappingMethod;
    }

    public Class<?> getReturnType() {
        return returnType;
    }

    public void setReturnType(Class<?> returnType) {
        this.returnType = returnType;
    }
}
